package com.op.teachingliteapp.util;

import org.json.JSONException;
import org.json.JSONObject;

public class JsonUtils {

	/**
	 * 从JSONObject里获取值
	 */
	public static String getJsonValue(JSONObject jsonObject, String key) {
		try {
			return jsonObject.getString(key);
		} catch (JSONException e) {
			return "";
		}
	}

}
